package com.zy.scwproject.service.exp;


import com.zy.scwcommon.bean.AppResponse;
import com.zy.scwcommon.entity.TMember;
import com.zy.scwproject.service.TMemberServiceFeigns;
import com.zy.scwproject.service.TMemberServiceFeigns;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
* @program: zyzc_springcloud
*
* @description: 
*
* @author: ZYY
*
* @create: 2024-06-20 16:56
**/
@Slf4j
@Component
public class TMemberServiceFeignsExceptionHandler implements TMemberServiceFeigns {


    @Override
    public AppResponse<TMember> selectById(Integer id) {
        AppResponse<TMember> app = AppResponse.fail(null);
        app.setMsg("调用远程服务查询发起人信息失败");
        log.error("调用远程服务查询发起人信息失败");
        return app;
    }
}
